package com.jurassic.demo.designMode.factory;

/**
 * @Author pan_jin
 * @Description: $
 * @Date: 2022/7/13 10:09
 * @Version: 1.0.0
 * @Slogan: 梦想还是要有的万一实现了呢
 */
public class GoogleFactory implements AbstractDocumentFactory{
    @Override
    public HtmlDocument createHtml(String str) {
        return new GoogleHtmlDocument();
    }

    @Override
    public WordDocument createWord(String str) {
        return new GoogleWordDocument();
    }
}
